package bean;

public class student {
	private String studentNum;
	private String name;
	private int sex;
	private int grade;
	private String profession;
	private String username;
	private String password;
	public String getStudentNum() {
		return studentNum;
	}
	public void setStudentNum(String studentNum) {
		this.studentNum = studentNum;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public int getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	public String getProfession(){
		return profession;
	}
	public void setProfession(String  profession){
		this.profession = profession;
	}
	public String getUsername(){
		return username;
	}
	public void setUsername(String username){
		this.username = username;
	}
	public String getPassword(){
		return password;
	}
	public void setPassword(String password){
		this.password = password;
	}
	public String toString(){
		return "student [student_num="+studentNum+",name="+name
				+",sex="+sex+",grade="+grade+",username="+username+
				",password="+password+",profession="+profession+"]";
	}
}
